Research
Security News
Kill Switch Hidden in npm Packages Typosquatting Chalk and Chokidar
Socket researchers found several malicious npm packages typosquatting Chalk and Chokidar, targeting Node.js developers with kill switches and data theft.
@abtasty/widget-utils
Advanced tools
Collection of useful functions for AB Tasty Widgets.
Inside your Widget folder, install the widget-utils
library:
npm install @abtasty/widget-utils
Note: you can also use yarn instead of npm: yarn add @abtasty/widget-utils
With Webpack or Rollup.js:
import { waitForElement, isAffected } from '@abtasty/widget-utils';
const waitForBody = waitForElement('#section', (section) => {
section.insertAdjacentHTML('beforeend', '<p>New paragraph at the end of that section.</p>');
});
setTimeout(() => {
if (!isAffected()) {
waitForBody.clear();
}
}, 10000);
When you have installed and build your locally project :
npm link
in your widget-utils
foldernpm link @abtasty/widget-utils
editor
project.First, install your widget-utils
, copy the path of the project.
Then, In your local widget project :
npm install
, delete the folder /node_modules/@abtasty/widget-utils
/node_modules/@abtasty/
ln -s {your path to widget-utils project folder} widget-utils
A symlink has been created in your widget project, with the folder: /node_modules/@abtasty/widget-utils
The fonts.js file in this repo is exposing the Google Fonts from ABTasty CDN (which is populated by this repo: https://gitlab.com/abtasty/turfu/common-fonts)
Any changes in the common-fonts repo must follow the font regeneration here.
To regenerate the fonts.js file,
yarn run generateFonts
Once the MR is approved, follow the following steps:
npm
with npm publish
FAQs
Collection of useful functions for AB Tasty Widgets.
The npm package @abtasty/widget-utils receives a total of 45 weekly downloads. As such, @abtasty/widget-utils popularity was classified as not popular.
We found that @abtasty/widget-utils demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 30 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket researchers found several malicious npm packages typosquatting Chalk and Chokidar, targeting Node.js developers with kill switches and data theft.
Security News
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.